class EventoController extends LoginController{
    def index = {
        def catet = Categoria.findAll();
        session.catet=catet
        def category = Categoria.findById(params.id)
        session.category = category
        def event = Evento.findAllByCateg(category)
        session.event = event
    }
}

